class people
    def __init__(self, name, age):
        self.name = name
        self.__age = age
    def __sayHello(self):
        print('Hello，大家好')
    def greeting(self):
        self.__sayHello()
    def getAge(self):
        return self.__age
xiaolan = People('小蓝', 10)
xiaolan.greeting()
print('我叫{}，今年{}岁了。'.format(xiaolan.name,xiaolan.getAge()))